<?php

namespace App\Http\Controllers\Api;

use Illuminate\Routing\Controllers\HasMiddleware;
use Jiannei\Response\Laravel\Support\Traits\JsonResponseTrait;

class Controller implements HasMiddleware
{
    use JsonResponseTrait;

    protected bool $auth = true;
    protected array $exclude = [];


    public static function middleware(): array
    {
        return [
            'auth:sanctum',
        ];
    }
}